package com.lazyfish.annotation;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class AnnotationAssembleTest {
    @Test
    public void test() {
        ApplicationContext applicationContext  =  new ClassPathXmlApplicationContext("applicationContext.xml");
        UserController userController = (UserController)applicationContext.getBean("userController");
        userController.save();
    }
}
